import type { userInfo } from "@/props/user";
import { defineStore } from "pinia";
import { reactive, ref } from "vue";

export const useUserProfileStore = defineStore('userProfile',()=>{
  const isEmail = ref(false)
  const isPhone = ref(false)

  const userInfor = reactive<userInfo>({
    name:'',
    avatarUrl:'',
    email:'',
    phoneNumber:'',
    createdAt:''
  })

  return {isEmail,isPhone,userInfor}
})
